<!--右边栏目 Begin-->
<div class="mainSide">
	<!--{jwidget qun_index right}-->
	<!--用户信息 Begin-->
	<!--{if MEMBER_ID > 0 && !empty($member)}-->
	<div class="side" style="*padding-top:0;_width:290px;">
        <h3></h3>
        <ul><li>
		    <div class="lface">
            <a href="index.php?mod={$member[username]}" title="{$member[username]}" class="nude_face">
            <img onerror="javascript:faceError(this);" src="{$member[face]}" title="{$member[nickname]}" /></a>
            </div>
			<div class="rcon">
            <span class="spanimg">{$member[nickname]} {$member[validate_html]}</span>
			<br />
			<span style="color:#555;">{$member[province]}&nbsp;{$member[city]}</span>
			<br />
			<span class="qun_r_t_13">
            <a href="index.php?mod={$member[username]}" title="{$member[username]}">我的{$this->Config[changeword][n_weibo]}</a></span>
			</div>
          </li>
        </ul>
        <div class="create_qun_b"><a href="index.php?mod=qun&code=create " class="create_button" >创建{$this->Config[changeword][weiqun]}</a></div>
	</div>
	<!--{/if}-->  

	<!--{if $this->Get['mod'] == 'qun'}-->
    <div class="side">
		<h3>
        <a class="sidebtn" title="{$this->Config[changeword][weiqun]}首页" href="index.php?mod=qun">{$this->Config[changeword][weiqun]}首页</a>
        <a class="sidebtn" title="我的{$this->Config[changeword][weiqun]}" href="index.php?mod=qun&code=profile">我的{$this->Config[changeword][weiqun]}</a>
        </h3>
    </div>
	<!--{/if}-->
	
	
	<!--推荐群 Begin-->
	<!--{if in_array($this->Code, array('index', 'tag')) }-->
	<div class="side">
		<h3>你可能感兴趣的</h3>
		<ul class="sideul qun_r">
			<!--{if ($recd_qun_list=jlogic('qun')->get_recd_list())}-->
			
			  <!--{loop $recd_qun_list $val}-->
				  <li>
				  	<div class="lface">
						<a href="index.php?mod=qun&qid={$val['qid']}" target="_blank">
							<img src="{$val[icon]}" title="{$val[name]}"/>
						</a>
                     </div>
					<div class="rcon">
						<span><a href="index.php?mod=qun&qid={$val['qid']}" target="_blank">{$val['name']}</a></span>
						<br />
						<span style="color:#555;">
							<!--{if $val['member_num'] > 0}-->
								成员{$val['member_num']}人
							<!--{else}-->
								还没有成员
							<!--{/if}-->
						</span>
					</div>
					<div class="clear"></div>
				  </li>
			  <!--{/loop}-->
			
			<!--{else}-->
				<li><span>可以由管理员在后台推荐</span></li>
			<!--{/if}-->
		</ul>
	</div>
	<!--{/if}-->	
	<!--推荐群 End-->
	
	<!--{if $new_qun_list}-->
	<div class="side">
	  <h3>最新{$this->Config[changeword][weiqun]}</h3>
      <ul class="sideul qun_r">
		   <!--{loop $new_qun_list $val}-->
			<li>
			  <div class="lface">
				<a href="index.php?mod=qun&qid={$val['qid']}" target="_blank">
				  <img src="{$val[icon]}" title="{$val[name]}"/>
				</a>
              </div>
			  <div class="rcon">
				<span><a href="index.php?mod=qun&qid={$val['qid']}" target="_blank">{$val['name']}</a></span>
				<br />
				<span style="color:#555;">{$val['member_num']}人&nbsp;&nbsp;|&nbsp;&nbsp;{$val['thread_num']}条{$this->Config[changeword][n_weibo]}</span>
				<br />
				<span> <a href="javascript:;" onclick="joinQun({$val['qid']})">加入{$this->Config[changeword][weiqun]}</a></span> 
			  </div>
		    <div class="clear"></div>
		  </li>
		  <!--{/loop}-->
		</ul>
	
	</div>
	<!--{/if}-->

	<!--群相关信息 Begin-->
	<!--{if !empty($qun_info)}-->
	<div class="side">
		<!--圈子右侧顶部统计 Begin-->
		<div id="c_wp" class="qun_r_t">
			<div class="mleft mrb">
				<div class="qun_r_t_11"><a href="index.php?mod=qun&code=members&qid={$qid}">{$qun_info['member_num']}</a></div>
				<div class="qun_r_t_12">成员</div>
			</div>
			<div class="mleft mrb">
				<div class="qun_r_t_11"><a href="index.php?mod=qun&qid={$qid}">{$qun_info['thread_num']}</a></div>
				<div class="qun_r_t_12">{$this->Config[changeword][n_weibo]}</div>
			</div>

			<div style="clear:both;"></div>
		</div>
		
		<!--圈子右侧顶部统计 End-->
		
		<div id="qun_att_wp" style="margin-top:15px;">
		
			
			<!--群主 Begin-->
			<div>
				<span class="q_th">{$this->Config[changeword][weiqun]}管理员：</span>
				<span class="qun_r_t_13">
					<a href="index.php?mod={$qun_info['foundername']}">
						{$founder_info[nickname]} {$founder_info[validate_html]}
					</a>
				</span>
			</div>
			<!--群主 End-->
			
			<!--群管理员 Begin-->
			<!--{if $qun_admin_list}-->
			<div>
				<span class="q_th">管理员：</span>
				<!--{loop $qun_admin_list $admin}-->
				<span class="qun_r_t_13"><a href="index.php?mod={$admin['username']}">{$admin['nickname']}</a>$admin['validate_html']</span>
				&nbsp;
				<!--{/loop}-->
			</div>
			<!--{/if}-->
			<!--群管理员 End-->
			
			<!--{if $followme_nums > 0}-->
			<div>
				<span class="q_th">
					{$this->Config[changeword][weiqun]}里有：
					<a href="index.php?mod=qun&code=members&type=followed&qid={$qid}">{$followme_nums}位我关注</a>
				</span>
				<span></span>
			</div>
			<!--{/if}-->
			
			<!--{if !empty($tag_ary)}-->
			<div>
				<span class="q_th">{$this->Config[changeword][weiqun]}标签：</span>
				<span class="qun_r_t_13">
					<!--{loop $tag_ary $tag}-->
						<a href="index.php?mod=qun&code=tag&tag_id={$tag['tag_id']}">{$tag['tag_name']}</a>
						&nbsp;
					<!--{/loop}-->
				</span>
			</div>
			<!--{/if}-->
			
			<div>
				<span class="q_th">{$this->Config[changeword][weiqun]}简介：</span>
				<!--{if $qun_info['desc']}-->
					<span>{$qun_info['desc']}</span>
				<!--{else}-->
					<span>欢迎来到{$qun_info['name']}{$this->Config[changeword][weiqun]}</span>
				<!--{/if}-->
			</div>
		</div>
	</div>
	
	<!--群内活动 Begin-->
		<!--{if $recd_event_list}-->
		<div>
			<h3>推荐活动</h3>
			<div>
				<ul>
				  <!--{loop $recd_event_list $val}-->
					  <li class="qun_r_t_13"><a href="index.php?mod=event&code=detail&id={$val[eid]}">$val['title']</a></li>
				  <!--{/loop}-->
				</ul>
			</div>
		</div>
		<!--{/if}-->
	<!--群内活动End-->
	
	<!--群内活动 Begin-->
		<!--{if $recd_vote_list}-->
		<div class="side">
			<h3>推荐投票</h3>
			<div>
				<ul>
				  <!--{loop $recd_vote_list $val}-->
					  <li class="qun_r_t_13"><a href="javascript:void(0);" onclick="vote_ajax_menu($val[vid],$uid);">$val['subject']</a></li>
				  <!--{/loop}-->
				</ul>
			</div>
		</div>
		<!--{/if}-->
	<!--群内活动End-->
	
	<!--群内最新成员 Begin-->
		<!--{if $new_members}-->
		<div class="side">
        <h3>欢迎新成员</h3>

			<div>
				<ul class="sideuserList">
				  <!--{loop $new_members $val}-->
					  <li class="h_h2"><a href="index.php?mod={$val[username]}" target="_blank"><img onerror="javascript:faceError(this);" src="{$val[face]}" title="{$val[nickname]}" class="manface" onmouseover="get_user_choose({$val[uid]},'_user',{$val[uid]})" onmouseout="clear_user_choose()"/></a>
					  <b><a href="index.php?mod={$val[username]}" target="_blank">{$val[nickname]}</a></b>
					  <div id="user_{$val[uid]}_user" class="layS2"></div>
					  </li>
				  <!--{/loop}-->
				</ul>
			</div>
		</div>
		<!--{/if}-->
	<!--群内最新成员 End-->
	
	<!--{/if}-->
	<!--群相关信息 End-->
	
	<!--我的圈子页面右侧边栏 Begin-->
	<!--{if $this->Code == 'profile'}-->
	<div class="side">
    <h3>{$this->Config[changeword][weiqun]}策略</h3>
		<div style="color:#444;">
			满足以下条件才能创建{$this->Config[changeword][weiqun]}：
			<br />
			<!--{loop $ploys $key $val}-->
				<!--{eval echo $key+1;}-->.{$val}
				<br />
			<!--{/loop}-->
			<a href="index.php?mod=qun&code=ploy">查看{$this->Config[changeword][weiqun]}策略&gt;&gt;</a>
		</div>
	</div>
	 
	 <!--我的圈子页面右侧导航 Begin-->
	 <div class="side">
     <h3></h3>
		<!--{loop $view_list $view_nav}-->
		<div class="pf_r_nav"><a href="index.php?mod=qun&code=profile&view={$view_nav['code']}">{$view_nav['title']}</a></div>
		<!--{/loop}-->
	 </div>
	 <!--我的圈子页面右侧导航 End-->
	 
	<!--{/if}-->
	<!--我的圈子页面右侧边栏 End-->
	
	<!--{if $this->Code=='category'}-->
	<!--{if $hot_tag_ary}-->
	<div class="side">
		<h3>热门标签</h3>
		<div id="hot_24_wp">
			<!--{loop $hot_tag_ary $tag}-->
			<span><a href="index.php?mod=qun&code=tag&tag_id={$tag['tag_id']}" >{$tag['tag_name']}</a></span>
			&nbsp;
			<!--{/loop}-->
		</div>
    </div>
	<!--{/if}-->
	<!--{/if}-->
	 
    <!--{if $this->Config[ad_enable]}-->
    <!--{eval SetADV('qun','middle_right');}-->
    <!--{/if}-->
	
</div>
</div>
</div>